package day05.date;

import java.util.Calendar;

/**
 * @author yangwenqi
 * @decs TODO
 * @date 2025/4/25
 */
public class Test3 {
    public static void main(String[] args) {
        Calendar c1 = Calendar.getInstance();
        c1.set(Calendar.YEAR, 2002);
        c1.set(Calendar.MONTH, 7 - 1);
        c1.set(Calendar.DAY_OF_MONTH, 13);
        int w = c1.get(Calendar.DAY_OF_WEEK);
        System.out.println("出生那天是星期：" + (w-1));
    }
}
